package com.hckjsec.law.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 公共法律服务平台人员配置对象 web_law_personnel
 * 
 * @author cyt
 * @date 2021-11-04
 */
public class WebLawPersonnel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private Long companyId;

    /** 系统账户 */
    @Excel(name = "系统账户")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 图像 */
    @Excel(name = "图像")
    private String nameImg;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 执业证号 */
    @Excel(name = "执业证号")
    private String practiceNumber;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date borntime;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String politicalFace;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 擅长业务 */
    @Excel(name = "擅长业务")
    private String goodScope;

    /** 个人简介 */
    @Excel(name = "个人简介")
    private String personalProfile;

    /** 是否短信提醒 */
    @Excel(name = "是否短信提醒")
    private String sms;

    private String[] goodScopeArr;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setNameImg(String nameImg)
    {
        this.nameImg = nameImg;
    }

    public String getNameImg()
    {
        return nameImg;
    }
    public void setGender(String gender)
    {
        this.gender = gender;
    }

    public String getGender()
    {
        return gender;
    }
    public void setPracticeNumber(String practiceNumber)
    {
        this.practiceNumber = practiceNumber;
    }

    public String getPracticeNumber()
    {
        return practiceNumber;
    }
    public void setBorntime(Date borntime)
    {
        this.borntime = borntime;
    }

    public Date getBorntime()
    {
        return borntime;
    }
    public void setPoliticalFace(String politicalFace)
    {
        this.politicalFace = politicalFace;
    }

    public String getPoliticalFace()
    {
        return politicalFace;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setGoodScope(String goodScope)
    {
        this.goodScope = goodScope;
    }

    public String getGoodScope()
    {
        return goodScope;
    }
    public void setPersonalProfile(String personalProfile)
    {
        this.personalProfile = personalProfile;
    }

    public String getPersonalProfile()
    {
        return personalProfile;
    }

    public String[] getGoodScopeArr() {
        return goodScopeArr;
    }

    public void setGoodScopeArr(String[] goodScopeArr) {
        this.goodScopeArr = goodScopeArr;
    }

    public void setSms(String sms)
    {
        this.sms = sms;
    }

    public String getSms()
    {
        return sms;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("companyId", getCompanyId())
                .append("userId", getUserId())
                .append("name", getName())
                .append("nameImg", getNameImg())
                .append("gender", getGender())
                .append("practiceNumber", getPracticeNumber())
                .append("borntime", getBorntime())
                .append("politicalFace", getPoliticalFace())
                .append("phone", getPhone())
                .append("state", getState())
                .append("sort", getSort())
                .append("goodScope", getGoodScope())
                .append("personalProfile", getPersonalProfile())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("sms", getSms())
                .toString();
    }
}
